.topbar {
  width: 100%;
  height: 50px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.topbarWrapper {
  height: 100%;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1976d2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #1565c0;
}

@media (max-width: 768px) {
  .logo {
    font-size: 16px;
    max-width: 200px;
  }
}

.topLeft {
  flex: 1;
}

.topCenter {
  flex: 2;
  display: flex;
  justify-content: center;
}

.topRight {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbarIconContainer {
  position: relative;
  cursor: pointer;
  margin-right: 10px;
  color: #555;
}

.topIconBadge {
  width: 15px;
  height: 15px;
  position: absolute;
  top: -5px;
  right: 0px;
  background-color: red;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.topAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 10px;
  transition: opacity 0.2s;
}

.topAvatar:hover {
  opacity: 0.8;
}